package com.li.blog.common.dto;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @author HP
 */
@Data
public class CommentDto {
    private Long blogId;

    private String username;

    @NotBlank(message = "内容不能为空")
    private String content;

}
